/*
 * Wire
 * Copyright (C) 2018 Wire Swiss GmbH
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see http://www.gnu.org/licenses/.
 *
 */

@badge-height: 20px;

.badge {
  .label-nocase-xs;
  background-color: @graphite;
  border-radius: @badge-height / 2;
  color: #fff;
  line-height: @badge-height;
  min-width: 24px;
  text-align: center;
}

.cell-badge {
  border-radius: 10px;
  font-size: 12px;
  line-height: @badge-height;
  height: @badge-height;
  min-width: 32px;
  text-align: center;

  &.disabled {
    cursor: default;
    opacity: 0.32;
    pointer-events: none;
  }
}

.cell-badge-light {
  .cell-badge;
  background-color: #fff;
  color: @graphite-dark;
}

.cell-badge-dark {
  .cell-badge;
  background-color: fade(#000, 16%);
}

.guest-badge {
  .cell-badge-light();
  padding-right: 8px;
  padding-left: 8px;
  font-weight: @font-weight-regular;
}
